package com.bonuo.crm.mapper;

import com.bonuo.crm.domain.Activity;
import com.bonuo.crm.domain.Year;
import com.bonuo.crm.domain.vo.CrmIndex;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface YearMapper {

    List<Year> selectYearList(Year year);

    Integer add(Year year);

    Integer update(Year year);

    Integer delete(Integer id);

    Year selectStartAndEndDate();

    Integer selectYearByYear(String year);
}